<html>
<head>
    <title>SSAS</title>
    <script language="javascript" type="text/javascript" src="js/SSASscript.js"></script>
    <link rel="stylesheet" type="text/css" href="main.css" />
</head>

<body onload="GadgetInit()" style="width: 133px;height:282px;">
    <center>
        
        <table id="initpage" cellpadding="0" cellspacing="0" class="maintable" style="height:282px;">
            <tr>
                <td colspan="2" class="logo">
                    <img id="logoImage1" src="Images/logo.gif" border="0" alt=""/>
                </td>
            </tr>  
            <tr>
                <td align="left" style="height: 200px; vertical-align:top;">
                    <a id="noteOne" target="_blank" style="font-weight:normal;font-size:xx-small;overflow:hidden">
                    Welcome to SQL Server Analysis Services Gadget.</a><br/><br/>
                    <a id="noteTwo" target="_blank" style="font-weight:normal;font-size:xx-small;overflow:hidden">
                    Please click the wrech icon to configure this gadget.</a><br/><br/>
                    <a id="noteThree" target="_blank" style="font-weight:normal;font-size:xx-small;overflow:hidden">
                    Visist our open source project on </a>
                    <a id="noteFour" href="http://www.codeplex.com/SqlServerGadgets/"
                        target="_blank" style="font-weight:bold;font-size:xx-small;overflow:hidden;text-decoration: underline">CodePlex</a>
                    <a id="noteFive" target="_blank" style="font-weight:normal;font-size:xx-small;overflow:hidden">
                    for more information.</a><br/><br/>
                 </td>
             </tr>
             <tr>
                <td align="left" style="height: 0px; vertical-align:bottom;">
                    <a id="A1" target="_blank" style="font-weight:normal;font-size:xx-small;overflow:hidden;">Powered by </a>
                    <a id="A2" href="http://www.codeplex.com/SqlServerGadgets/"
                        target="_blank" style="font-weight:bold;font-size:xx-small;overflow:hidden;text-decoration: underline">SQL Server</a><br/><br/>
                </td>
             </tr>
        </table>
        
        <table id="resultspage" cellpadding="0" cellspacing="0" class="maintable" style="height:282px;">
            <tr>
                <td colspan="2" class="logo">
                    <img id="logoImage2" src="Images/logo.gif" border="0" alt=""/>
                </td>
            </tr>
            
            <tr>
                <td align="left" style="height: 200px; vertical-align:top;" colspan="2" style="font-weight:bold;font-size:xx-small;overflow:hidden;color:Blue">
                    KPI Name: <br/> <span id="SqlKPIName" style ="overflow:hidden; font-weight:lighter;font-size:xx-small;color:Maroon"></span><br />
                    KPI Value: <br/> <span id="SqlKPIValue" style ="overflow:hidden; font-weight:lighter;font-size:xx-small;color:Maroon"></span><br />
                    KPI Goal: <br/> <span id="SqlKPIGoal" style ="overflow:hidden; font-weight:lighter;font-size:xx-small;color:Maroon"></span><br />
                    <br/>
                    Status Value: <span id="SqlKPIStatus" style ="overflow:hidden; font-weight:lighter;font-size:xx-small;color:Maroon"></span><br />
                    Status Graphic: <br/> <span id="SqlKPIStatusGraphic" style ="overflow:hidden; font-weight:100;font-size:xx-small;color:Maroon"></span><br />
                    <br/>
                    Trend Value:  <span id="SqlKPITrend" style ="overflow:hidden; font-weight:lighter;font-size:xx-small;color:Maroon"></span><br />
                    Trend Graphic: <br/> <span id="SqlKPITrendGraphic" style ="overflow:hidden; font-weight:100;font-size:xx-small;color:Maroon"></span><br />
                </td>
            </tr>
            <tr>
                <td align="left" style="height: 0px; vertical-align:bottom;">
                    <button onclick = "GetFirstKPI();" style ="height:19px; width:23px;" > |< </button>
                    <button onclick = "GetPreviousKPI();" style ="height:19px; width:23px;" > < </button>
                    <span id="indexKPI" style ="font-weight:bold; font-size:x-small; color:Maroon; text-align:center; width:23px;">-1</span>
                    <button onclick = "GetNextKPI();" style ="height:19px; width:23px;" > > </button>
                    <button onclick = "GetLastKPI();" style ="height:19px; width:23px;" > >| </button>
                    <a id="noteFooter" target="_blank" style="font-weight:normal;font-size:xx-small;overflow:hidden;">Powered by </a>
                    <a id="noteFooterLink" href="http://www.codeplex.com/SqlServerGadgets/"
                        target="_blank" style="font-weight:bold;font-size:xx-small;overflow:hidden;text-decoration: underline">SQL Server</a><br /><br />
                </td>
            </tr>
        </table>   
            
        <table id="errorpage" cellpadding="0" cellspacing="0" class="maintable" style="height:282px;">
            <tr>
                <td colspan="2" class="logo"><a href="http://www.facebook.com">
                    <img id="logoImage3" src="Images/logo.gif" border="0" alt=""/></a>
                </td>
            </tr>
            <tr>
                <td align="left" style="height: 150px; vertical-align:middle;">
                    <a id="noteTitle" target="_blank" style="font-weight:bold;font-size:xx-small;overflow:hidden">Error:</a><br/>
                    <a id="noteError" target="_blank" style="font-weight:normal;font-size:xx-small;overflow:visible"></a><br/>
                </td>
            </tr>
        </table> 
        
    </center>
</body>
</html>
